class SMPPAPI D2Cmp : public Library<D2Cmp>
{
#ifdef SMPPLIBRARY_EXPORT
	static void SetFunctions();
public:
	static void Init()
	{
		Name = "D2Cmp.dll";
		Offset = LoadDiabloLibrary();
		SetFunctions();
	}
#endif
public:
	typedef void(__stdcall* TD2InitCellFile)(void* pRawCellFile, CellFile** ppCellFile, char* szFile, int nLine, int nSpecialVersion, char* szPath);
	static TD2InitCellFile D2InitCellFile;
	typedef void(__stdcall* TD2DeleteCellFile)(CellFile* cellfile);
	static TD2DeleteCellFile D2DeleteCellFile;
};